<div>
    <a class="file">选择文件
        <input type="file" ng2FileSelect [uploader]="uploader" (change)="onFileChanged($event)" [accept]="accept"/>
    </a>
    <div class="file-uploader" *ngIf="imageUrl">
        <img [src]="imageUrl">
    </div>
</div>